From svcs1.digex.net!amos-request Thu May 4 15:03:51 1995 remote from earth
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by earth.usa.net (8.6.10/8.6.10) with SMTP id PAA19949 for <lee.kitchens@georgia.com>; Thu, 4 May 1995 15:03:49 -0600
Reply-To: earth!svcs1.digex.net!amos-request
Received: by svcs1.digex.net id AA10300
(5.67b8/IDA-1.5 for amos-out); Thu, 4 May 1995 10:08:13 -0400
Received: from nfs2.digex.net by svcs1.digex.net with SMTP id AA10283
(5.67b8/IDA-1.5 for <amos@svcs1.digex.net>); Thu, 4 May 1995 10:07:49 -0400
Received: from mercury.bton.ac.uk by nfs2.digex.net with SMTP id AA14998
(5.67b8/IDA-1.5 for <amos-list@access.digex.net>); Thu, 4 May 1995 10:05:58 -0400
Received: from diamond.bton.ac.uk by mercury.bton.ac.uk with SMTP (PP);
Thu, 4 May 1995 14:56:46 +0100
Received: by diamond.bton.ac.uk (4.1/SMI-4.1) id AA26472;
I'm new to this group so I'm just letting you all know who I am! :-)
At the moment I use Amos 1.3+comp. on a 500 with 1meg. I do have AmosPro from
the Amiga Format Coverdisk but haven't got round to setting it up yet!!
So, I'm a bit lazy!!!!!! I'm waiting for a Harddrive before I do anything
else. I've been programming in Amos for a ggod three years now and know my
way around the language pretty well (I also know c & c++ if anyones
interested!).
When I started using Amos, I needed to set up a large 2d Array (For map
storage - 200*200) Unfortunately, AMOS doesn't handle anything this large,
which stumped me for a good while. (Is this bug fixed in AMOS Pro? - You can
define the array, but if you write to areas of it the machine hangs!!!).
If anyone else has this problem ..... I HAVE A SOLUTION!!!!!!
It's rather low level though, involving pokes and peeks to and from direct
memory addresses!
STEP 1:
Reserve a data bank for use (This initializes a block of mem. to use)
RESERVE AS DATA 6,200*200 : 'for array 2D 200*200
STEP 2:
You need to have a formula that allows you to access an element quickly
and easily. This may seem complicated but it does work!!!!!!
For example, a write command (Storing data in an element) could be:
POKE START 6+x+(y*w),2
; where x is the x co-ord, y is the y co-ord and
; w is the width of the map (The largest possible
; for x). The value 2 is written to the location.
This may seem a little complicated, but it is a lot faster than the DIM
function and allows you to define a larger array!!!! It is also stored as a
data bank allowing the easy loading and saving to disk!!!
If you you want me to go into more detail then let me know!!
I hope this is of some use,
Tim. - tl14@bton.ac.uk
From svcs1.digex.net!amos-request Thu May 4 20:58:47 1995 remote from earth
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by earth.usa.net (8.6.10/8.6.10) with SMTP id UAA22108 for <lee.kitchens@georgia.com>; Thu, 4 May 1995 20:58:46 -0600
Reply-To: earth!svcs1.digex.net!amos-request
Received: by svcs1.digex.net id AA03628
(5.67b8/IDA-1.5 for amos-out); Thu, 4 May 1995 16:57:07 -0400
Received: from nfs1.digex.net by svcs1.digex.net with SMTP id AA03540
(5.67b8/IDA-1.5 for <amos@svcs1.digex.net>); Thu, 4 May 1995 16:55:56 -0400
Received: from coyote.rain.org by nfs1.digex.net with SMTP id AA16757
(5.67b8/IDA-1.5 for <amos-list@access.digex.net>); Thu, 4 May 1995 16:46:53 -0400
Received: by coyote.rain.org(8.6.10/RAIN-1.0) with id NAA20411
I'm new to this group so I'm just letting you all know who I am! :-)
At the moment I use Amos 1.3+comp. on a 500 with 1meg. I do have AmosPro from
the Amiga Format Coverdisk but haven't got round to setting it up yet!!
So, I'm a bit lazy!!!!!! I'm waiting for a Harddrive before I do anything
else. I've been programming in Amos for a ggod three years now and know my
way around the language pretty well (I also know c & c++ if anyones
interested!).
When I started using Amos, I needed to set up a large 2d Array (For map
storage - 200*200) Unfortunately, AMOS doesn't handle anything this large,
which stumped me for a good while. (Is this bug fixed in AMOS Pro? - You can
define the array, but if you write to areas of it the machine hangs!!!).
If anyone else has this problem ..... I HAVE A SOLUTION!!!!!!
It's rather low level though, involving pokes and peeks to and from direct
memory addresses!
STEP 1:
Reserve a data bank for use (This initializes a block of mem. to use)
RESERVE AS DATA 6,200*200 : 'for array 2D 200*200
STEP 2:
You need to have a formula that allows you to access an element quickly
and easily. This may seem complicated but it does work!!!!!!
For example, a write command (Storing data in an element) could be:
POKE START 6+x+(y*w),2
; where x is the x co-ord, y is the y co-ord and
; w is the width of the map (The largest possible
; for x). The value 2 is written to the location.
This may seem a little complicated, but it is a lot faster than the DIM
function and allows you to define a larger array!!!! It is also stored as a
data bank allowing the easy loading and saving to disk!!!
If you you want me to go into more detail then let me know!!
I hope this is of some use,
Tim. - tl14@bton.ac.uk
From svcs1.digex.net!amos-request Thu May 4 20:58:47 1995 remote from earth
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by earth.usa.net (8.6.10/8.6.10) with SMTP id UAA22108 for <lee.kitchens@georgia.com>; Thu, 4 May 1995 20:58:46 -0600
Reply-To: earth!svcs1.digex.net!amos-request
Received: by svcs1.digex.net id AA03628
(5.67b8/IDA-1.5 for amos-out); Thu, 4 May 1995 16:57:07 -0400
Received: from nfs1.digex.net by svcs1.digex.net with SMTP id AA03540
(5.67b8/IDA-1.5 for <amos@svcs1.digex.net>); Thu, 4 May 1995 16:55:56 -0400
Received: from coyote.rain.org by nfs1.digex.net with SMTP id AA16757
(5.67b8/IDA-1.5 for <amos-list@access.digex.net>); Thu, 4 May 1995 16:46:53 -0400
Received: by coyote.rain.org(8.6.10/RAIN-1.0) with id NAA20411
I'm the sort of AMOS programmer who's pretty adept at moving bobs and
pasting icons and very simple coding, but I've never been able to come up
with a top ten list routine.
Assuming the current score is in a variable called SCORE, could someone
help me out with a procedure to chech and save it against a file on the
disk? this would be much appreciated.
I've always thought a scrolling 3d environment like that of the popular
ibm game could be faked in amos by using a directional animation of screens.
now i know that amos permits only 8 screens but if they are, say, 352 by
960 then you have (through judicious screen offsetting) effectively 24
screens (or more) which should be sufficient for some excellent 3d scrolling
effects at lightning speed. I wanted to digitize some of those claustro-
phobic hallway scenes from _The Shining_ to try this, but my digitizer is
not up to snuff.
Opinions? and what is Francois doing these days?
-Daniel
F
X-Status:
Hiya,
I'm the sort of AMOS programmer who's pretty adept at moving bobs and
pasting icons and very simple coding, but I've never been able to come up
with a top ten list routine.
Assuming the current score is in a variable called SCORE, could someone
help me out with a procedure to chech and save it against a file on the
disk? this would be much appreciated.
I've always thought a scrolling 3d environment like that of the popular
ibm game could be faked in amos by using a directional animation of screens.
now i know that amos permits only 8 screens but if they are, say, 352 by
960 then you have (through judicious screen offsetting) effectively 24
screens (or more) which should be sufficient for some excellent 3d scrolling
effects at lightning speed. I wanted to digitize some of those claustro-
phobic hallway scenes from _The Shining_ to try this, but my digitizer is
not up to snuff.
Opinions? and what is Francois doing these days?
-Daniel
F
X-Status:
Hi all.
It's a lot of time i dont't write to the list but i'm always am AMOS
programmer!
A question:
- Is there a possibility to open a reqtools file requester on a WB screen
from AMOS without using Intuition extension by Andy Church?
The problem is: how to get the start address for the WB screen data
structure?
I hope in suggestions....
Luca (aldo@di.unito.it)
From plato1@melbpc.org.au Wed May 10 13:13:45 1995
Received: from emu.melbpc.org.au by mail1.access.digex.net with SMTP id AA24575
(5.67b8/IDA-1.5 for <amos-request@access.digex.net>); Wed, 10 May 1995 13:13:18 -0400
Received: from dialup-3.melbpc.org.au (dialup-3.melbpc.org.au [203.12.153.12]) by emu.melbpc.org.au (8.6.9/8.6.9) with SMTP id LAA15237 for <amos-request@access.digex.net>; Wed, 10 May 1995 11:08:00 +1000